# 赋值运算符与比较运算符

# 赋值运算
# a = 10
# print(a) # 10
# a += 20
# print(a) # 30
# a -= 20

# 比较运算
# b = 20
# print(a == b) # False

# 逻辑运算
print(1 and 2) # 2
print(True and False) # False
print(0 and 2) # 0
print(False and 2) # False
print(1 or 2) # 1
print(0 or 2) # 2
print(not 0) # True
print(not 1) # False






